package com.shengqi.xinnongren.work.ui.goods.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 商品详情
 */
public class GoodsDetailBean {

    private String comId;
    private String comName;
    private String phrase;
    private String deputyPic;
    private String price;
    private String marketPrice;
    private String unitName;
    private int isCollect;
    private String content;
    //购物车数量
    private int shoppingCartNum;
    private List<String> parameter;
    private String originPlace;

    private ApiValuationBean apiValuation;
    @SerializedName("apiValuationList")
    private List<CommentBean> commentList;

    public static class ApiValuationBean {
        /**
         * allNum : 2
         * havePicNum : 1
         * score : 2.5
         */

        private int allNum;
        private int havePicNum;
        private float score;

        public int getAllNum() {
            return allNum;
        }

        public void setAllNum(int allNum) {
            this.allNum = allNum;
        }

        public int getHavePicNum() {
            return havePicNum;
        }

        public void setHavePicNum(int havePicNum) {
            this.havePicNum = havePicNum;
        }

        public float getScore() {
            return score;
        }

        public void setScore(float score) {
            this.score = score;
        }
    }

    public String getOriginPlace() {
        return originPlace;
    }

    public void setOriginPlace(String originPlace) {
        this.originPlace = originPlace;
    }

    public String getComId() {
        return comId;
    }

    public void setComId(String comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getPhrase() {
        return phrase;
    }

    public void setPhrase(String phrase) {
        this.phrase = phrase;
    }

    public String getDeputyPic() {
        return deputyPic;
    }

    public void setDeputyPic(String deputyPic) {
        this.deputyPic = deputyPic;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(String marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public int getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(int isCollect) {
        this.isCollect = isCollect;
    }

    public int getShoppingCartNum() {
        return shoppingCartNum;
    }

    public void setShoppingCartNum(int shoppingCartNum) {
        this.shoppingCartNum = shoppingCartNum;
    }

    public ApiValuationBean getApiValuation() {
        return apiValuation;
    }

    public void setApiValuation(ApiValuationBean apiValuation) {
        this.apiValuation = apiValuation;
    }

    public List<CommentBean> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<CommentBean> commentList) {
        this.commentList = commentList;
    }

    public List<String> getParameter() {
        return parameter;
    }

    public void setParameter(List<String> parameter) {
        this.parameter = parameter;
    }
}
